package org.itboys.admin.dto.lasted;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.itboys.admin.entity.lasted.SundayArea;

import java.util.List;

/**
 * 包名：com.hz.sunday.tianjie.org.itboys.mobile.entity.mysql.product
 * 作者 : 江雄
 * Email: empty90911@126.com
 * 时间：2016年3月10日 下午2:52:46 
 * 描述:圣代_省（直辖市）/市/区or县/街道or乡镇_实体_DTO
 *
 */

public class SundayAreaDto {
	/**
	 *
	 */
	private static final long serialVersionUID = 8044191535233945079L;

	private long id;
	private String name;
	private Integer level;//1,省或直辖市，2，市，3区县，4，街道或乡镇
	private List<SundayArea> children;

	public SundayAreaDto() {
	}

	public SundayAreaDto(long id, String name, Integer level) {
		this.id = id;
		this.name = name;
		this.level = level;

	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public List<SundayArea> getChildren() {
		return children;
	}

	public void setChildren(List<SundayArea> children) {
		this.children = children;
	}
}
